package com.jiangxiaofei.citycloud.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by JiangXFei on 2017/8/23.
 */

public class VillageDetailBean implements Parcelable {

    /**
     * escription : 医学院大学生孙子轩意外受伤之后
     * addtime : 1503366064
     * author : 3
     * category : 1
     * content : 目标：上得厅堂下得厨房，斗得过鲜肉打得过流氓，开得起豪车买得起新房，健身、品味、厨艺全面发展，要有高收入还要有时间陪老婆，做新世纪好男人，中国好老爸！ 　　女儿：最近邻家女神的好感度又提升了，不错。喂喂，校花的好感度又下降了是怎么回事！？健身房的美女教...
     * id : 1
     * img : http://192.168.0.105/image/20170821/1450643963cropped_1503297689139.jpg,http://192.168.0.105/image/20170821/919693369cropped_1503299730949.jpg,http://192.168.0.105/image/20170821/844024988cropped_1503298078181.jpg
     * keywords : 医学 院 大学
     * localtion : 青岛 市南
     * status : 1
     * title : 医学院大学生孙子轩意外受伤之后
     * updatetime : 1503366064
     */

    private String escription;
    private String addtime;
    private int author;
    private int category;
    private String content;
    private int id;
    private String img;
    private String keywords;
    private String localtion;
    private String status;
    private String title;
    private String updatetime;

    public String getEscription() {
        return escription;
    }

    public void setEscription(String escription) {
        this.escription = escription;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public int getAuthor() {
        return author;
    }

    public void setAuthor(int author) {
        this.author = author;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getLocaltion() {
        return localtion;
    }

    public void setLocaltion(String localtion) {
        this.localtion = localtion;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.escription);
        dest.writeString(this.addtime);
        dest.writeInt(this.author);
        dest.writeInt(this.category);
        dest.writeString(this.content);
        dest.writeInt(this.id);
        dest.writeString(this.img);
        dest.writeString(this.keywords);
        dest.writeString(this.localtion);
        dest.writeString(this.status);
        dest.writeString(this.title);
        dest.writeString(this.updatetime);
    }

    public VillageDetailBean() {
    }

    protected VillageDetailBean(Parcel in) {
        this.escription = in.readString();
        this.addtime = in.readString();
        this.author = in.readInt();
        this.category = in.readInt();
        this.content = in.readString();
        this.id = in.readInt();
        this.img = in.readString();
        this.keywords = in.readString();
        this.localtion = in.readString();
        this.status = in.readString();
        this.title = in.readString();
        this.updatetime = in.readString();
    }

    public static final Parcelable.Creator<VillageDetailBean> CREATOR = new Parcelable.Creator<VillageDetailBean>() {
        @Override
        public VillageDetailBean createFromParcel(Parcel source) {
            return new VillageDetailBean(source);
        }

        @Override
        public VillageDetailBean[] newArray(int size) {
            return new VillageDetailBean[size];
        }
    };
}
